package com.dengcj.epl.entity.ecology.workflow;

import java.util.List;
import java.util.Map;

/**
 * @author dengchunjie
 * @Description: 用于创建流程的ecolyg请求对象
 * @date 2022/4/11 11:36
 */
public class NewWeaRequest {

    // 操作者id
    private Integer creatorId;

    // 路径ID
    private Integer workflowId;

    // 请求名称
    private String requestName;

    // 签字意见
    private String remark;

    // 主表Map
    private Map mainData;

    // 明细表数据
    private List<Map>[] detailData;

    public Integer getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(int creatorId) {
        this.creatorId = creatorId;
    }

    // 是否提交到下一节点
    private boolean autoCommit = false;

    public Integer getWorkflowId() {
        return workflowId;
    }

    public void setWorkflowId(int workflowId) {
        this.workflowId = workflowId;
    }

    public String getRequestName() {
        return requestName;
    }

    public void setRequestName(String requestName) {
        this.requestName = requestName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Map getMainData() {
        return mainData;
    }

    public void setMainData(Map mainData) {
        this.mainData = mainData;
    }

    public List<Map>[] getDetailData() {
        return detailData;
    }

    public void setDetailData(List<Map>... dtListArray) {
        this.detailData = dtListArray;
    }

    public boolean isAutoCommit() {
        return autoCommit;
    }

    public void setAutoCommit(boolean autoCommit) {
        this.autoCommit = autoCommit;
    }
}
